package com.zy.service.impl;

import com.zy.dao.GetCarDao;
import com.zy.dao.impl.GetCarDaoImpl;
import com.zy.entity.Car;
import com.zy.service.GetCarService;
import java.util.List;

public class GetCarServiceImpl implements GetCarService {
    private GetCarDao getCarDao = new GetCarDaoImpl();

    @Override
    public List<Car> getCarItems(int userId) {
        return getCarDao.getCarItems(userId);
    }
}
